<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        var obj={
            username:"alice",
            f1:function(){
                console.log(this);//obj
                var _this=this;
                function f2(){
                    "use strict";
                     console.log("调用了f2函数");
                     console.log(this);//undefined  
                     console.log(_this);//obj
                }
                f2();
            }
        };

        obj.f1();
    </script>
</head>
<body>
    
</body>
</html>